package com.xc.h05.service.renMengBinService;

import com.github.pagehelper.PageInfo;
import com.xc.h05.entity.Publicity;

import java.util.List;

public interface PublicityService {
    //查询所有
    public PageInfo<Publicity> selectAll(int pageNum, int pageSize, Publicity publicity);
    //添加
    public int add(Publicity publicity);
    //删除
    public int remove(int id);
    //修改
    public int update(Publicity publicity);
    //批量删除
    public int removeByScope(List<Integer> id);
}
